<template>
  <div id="app">
    <BossHeader v-if="!isHideHeader"/>
    <router-view/>
  </div>
</template>

<script>
import BossHeader from '@/components/BossHeader.vue'

export default {
  components: {BossHeader},
  computed: {
    isHideHeader() {
      // 需要隐藏头部的所有页面路径
      const hideHeaderPages = ['/', '/aiHR','/AIRecruit','/aiUser','/QqLogin', '/login', '/hrMessage', '/hrHome', '/HrHome','/relaystation/', '/chat', '/resume/interviewSetup','/recommend']
      return hideHeaderPages.includes(this.$route.path)
    }
  }
}
</script>